<div class="matches form">
<?php echo $this->Form->create('Match');?>
	<fieldset>
		<legend><?php echo __('Edit Match'); ?></legend>
	<?php
		echo $this->Form->input('id');
		echo $this->Form->input('stadium_id');
		echo $this->Form->input('opponent_country');
		echo $this->Form->input('tournament_id');
		echo $this->Form->input('date');
	?>
	</fieldset>
<?php echo $this->Form->end(__('Submit'));?>
</div>
<div class="actions">
	<h3><?php echo __('Actions'); ?></h3>
	<ul>

		<li><?php echo $this->Form->postLink(__('Delete'), array('action' => 'delete', $this->Form->value('Match.id')), null, __('Are you sure you want to delete # %s?', $this->Form->value('Match.id'))); ?></li>
		<li><?php echo $this->Html->link(__('List Matches'), array('action' => 'index'));?></li>
		<li><?php echo $this->Html->link(__('List Stadia'), array('controller' => 'stadia', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Stadium'), array('controller' => 'stadia', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Tournaments'), array('controller' => 'tournaments', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Tournament'), array('controller' => 'tournaments', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Countries'), array('controller' => 'countries', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Opponent  Country'), array('controller' => 'countries', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Benches'), array('controller' => 'benches', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Bench'), array('controller' => 'benches', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Events'), array('controller' => 'events', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Event'), array('controller' => 'events', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Line Ups'), array('controller' => 'line_ups', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Line Up'), array('controller' => 'line_ups', 'action' => 'add')); ?> </li>
	</ul>
</div>
